'use strict';
exports.main = async (event, context) => {
	const db = uniCloud.database();
	const collection = db.collection('label');
	let labels = await collection.get();
  return {
	  code: 200
	  ,msg: 'ok'
	  ,data: labels.data
  }
};
